package com.atguigu.servicebase.GlobalExceptionHandler;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author hlf
 * @createTime 2022/9/11 22:37
 * @description
 */
@Data
@AllArgsConstructor // 有参
@NoArgsConstructor // 无参
public class GuliException extends RuntimeException{
    @ApiModelProperty(value = "状态码")
    private Integer code; // 状态码
    private String msg; // 异常信息
}
